<%@ include file="include/header.jsp"%>

	<h2>Supprimer un contact par son id :</h2>
	<form method="POST" action="./DeleteContact.htm">
		<input type="text" name="memberId" value="" />
		<input type="submit" value="Delete">
	</form>

	<h2>Supprimer un contact :</h2>
	<table>
		<c:forEach items="${contactsContainer.contacts}" var="contact" varStatus="status">
			<tr>
				<td>
					<form method="POST" action="./DeleteContact.htm">
						${contact.getId()} ${contact.getFirstName()} ${contact.getLastName()}
						<input type="hidden" name="memberId" value="${contact.getId()}" />
						<input type="submit" value="Delete">
					</form>
				</td>
			</tr>
		</c:forEach>
	</table>
	
<%@ include file="include/footer.jsp"%>